﻿@model CREAPA.Dominio.TipoPortaria

@{
    ViewBag.Title = "Alterar Tipo de Portaria";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Alterar Tipo de Portaria</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Tipo de Portaria</legend>

        @Html.HiddenFor(model => model.Id)

        <div class="editor-label">
            @Html.LabelFor(model => model.Descricao)
        </div>
        <div class="editor-field">
          <div class="login-msg">
            @Html.EditorFor(model => model.Descricao)
            @Html.ValidationMessageFor(model => model.Descricao)
        </div>

        <p>
           <input type="submit" value="Alterar" class="button" />
            @Html.ActionLink("Voltar", "Index",null,new { @class = "button2" })
        </p>
    </fieldset>
}
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
